package com.yanqu.road.entity.log.cross.tongbing.normal;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_tongbing_log_join", desc = "普通统兵-报名日志", autoSave = true, uploadCk = true, isCross = true)
public class LogTongBingJoin extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "报名玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会ID")
    private String unionUid;
    @FieldTypeAnnotation(desc = "是否自动报名，1自动")
    private int autoJoin;

    @FieldTypeAnnotation(desc = "商会活动分组ID")
    private int groupId;

    public LogTongBingJoin(int activityId, long userId, String unionUid, int autoJoin, int groupId) {
        this.activityId = activityId;
        this.userId = userId;
        this.unionUid = unionUid;
        this.autoJoin = autoJoin;
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

}
